package com.consumer;

import com.consumer.ribbonRule.RuleConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

@EnableEurekaClient
@SpringBootApplication
@RibbonClient(name = "consumer-ribbon-client-8002", configuration = RuleConfig.class)
public class AppConsumer8002 {
    public static void main(String[] args) {
        SpringApplication.run(AppConsumer8002.class, args);
    }
}
